package top.rish.rib.base.config;

import cn.zhxu.bs.BeanSearcher;
import cn.zhxu.bs.convertor.DateFieldConvertor;
import cn.zhxu.bs.convertor.DateFormatFieldConvertor;
import cn.zhxu.bs.convertor.EnumFieldConvertor;
import org.noear.solon.annotation.Bean;
import org.noear.solon.annotation.Configuration;

@Configuration
public class BeanSearcherConfig {

    @Bean
    public DateFormatFieldConvertor dateFormatFieldConvertor() {
        return new DateFormatFieldConvertor();
    }

    @Bean
    public EnumFieldConvertor enumFieldConvertor() {
        return new EnumFieldConvertor();
    }

    @Bean
    public DateFieldConvertor dateFieldConvertor() {
        return new DateFieldConvertor();
    }

}
